package com.tj.bo.product.server.dao;

import com.fqgj.common.base.BaseMapper;
import com.tj.bo.product.server.entity.ProductEntity;

import java.util.List;

/**
* User: xulin
* Date: 2020-07-22
* Time: 18:41:59.574
*/

public interface ProductDao extends BaseMapper<ProductEntity> {

    List<ProductEntity> getAllProduct();

    ProductEntity getByProductCode(String product);

    int updateProductByOdds(String variableOdds, String productCode);

    int updateProductByInitOdds(String productCode);

    int updateProductByMiniOdds(String productCode);
}